package com.greenleaf.entity;

import org.springframework.stereotype.Component;
/**
 * 规格表
 * */
@Component
public class PdtSize {
private Integer sizeId;//编号
private String sizeName;//规格
private Integer pdtId;//所属商品
private String stock;//库存
public Integer getSizeId() {
	return sizeId;
}
public void setSizeId(Integer sizeId) {
	this.sizeId = sizeId;
}
public String getSizeName() {
	return sizeName;
}
public void setSizeName(String sizeName) {
	this.sizeName = sizeName;
}
public Integer getPdtId() {
	return pdtId;
}
public void setPdtId(Integer pdtId) {
	this.pdtId = pdtId;
}
public String getStock() {
	return stock;
}
public void setStock(String stock) {
	this.stock = stock;
}
public PdtSize(Integer sizeId, String sizeName, Integer pdtId, String stock) {
	super();
	this.sizeId = sizeId;
	this.sizeName = sizeName;
	this.pdtId = pdtId;
	this.stock = stock;
}
public PdtSize() {
	super();
	// TODO Auto-generated constructor stub
}
@Override
public String toString() {
	return "Pdtsize [sizeId=" + sizeId + ", sizeName=" + sizeName + ", pdtId=" + pdtId + ", stock=" + stock + "]";
}

}
